import { formRules } from '@/utils/valid/formRules'

export const formRule = {
  parentId: formRules.set('请选择父公司', 'change'),
  name: formRules.maxStr,
  companyAccount: formRules.phone,
  cooperationMode: [formRules.set('请选择合作模式', 'change')],
  address: [formRules.set('请输入使用地图选址', 'change')],
  enabled: [formRules.set('请选择', 'change')],
  legalPerson: formRules.maxStr,
  lglPsnMobile: formRules.phone,
  contacts: formRules.maxStr,
  mobile: formRules.phone,
  manageLicence: [formRules.set('请上传经营许可证', 'change')],
  bizLicence: [formRules.set('请上传公司营业执照', 'change')],
  paymentCode: [formRules.set('请选择支付方式', 'change')],
  bizLicenceBeginTime: [formRules.set('请选择营业执照开始时间', 'change')],
  contractBeginDate: [formRules.set('请选择合同开始时间', 'change')],
  deptId: [formRules.set('请选择部门', 'change')]
}
